package com.ky.gp.app.service;

import com.ky.common.vo.R;
import com.ky.gp.app.config.OpenFeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "gp-home-server", configuration = OpenFeignConfig.class)
public interface WordBookFeign {
    @RequestMapping("/home/wordBook/getWordBook")
    public R getWordBook() ;
    @RequestMapping("/home/wordBook/updateWordBook/{id}")
    R updateWordBook(@PathVariable("id") int id);
    @RequestMapping("/home/wordBook/selectAllWordBook")
    R selectAllWordBook();
}
